import request from '@/utils/request'
export function selectAllocationList(data) {
    return request({
        url: '/smkapi/allocation/selectAllocationList',
        method: 'post',
        data
    })
}
export function checkAllocationInfo(data) {
    return request({
        url: '/smkapi/allocation/checkAllocationInfo',
        method: 'post',
        data
    })
}
export function findAllocationInfo(data) {
    return request({
        url: '/smkapi/allocation/findAllocationInfo',
        method: 'post',
        data
    })
}
// 获取可调拨的批次
export function selectAllocationBatchData(data) {
    return request({
        url: '/smkapi/allocation/selectAllocationBatchData',
        method: 'post',
        data
    })
}
// 添加调拨单
export function addAllocationInfo(data) {
    return request({
        url: '/smkapi/allocation/addAllocationInfo',
        method: 'post',
        data
    })
}
// 调拨编辑
export function editAllocationInfo(data) {
    return request({
        url: '/smkapi/allocation/editAllocationInfo',
        method: 'post',
        data
    })
}
// 调拨删除
export function delAllocationInfo(data) {
    return request({
        url: '/smkapi/allocation/delAllocationInfo',
        method: 'post',
        data
    })
}
// 接收审核
export function checkReceiveAllocationInfo(data) {
    return request({
        url: '/smkapi/allocation/checkReceiveAllocationInfo',
        method: 'post',
        data
    })
}

// 查询调拨单可回退信息
export function findAllocationBackGoods(data) {
    return request({
        url: '/smkapi/Allocation/findAllocationBackGoods',
        method: 'post',
        data
    })
}
// 调拨单回退
export function backAllocation(data) {
    return request({
        url: '/smkapi/Allocation/backAllocation',
        method: 'post',
        data
    })
}